package com.lv.service.bean

import android.os.Parcelable
import androidx.annotation.Keep
import com.github.gzuliyujiang.wheelview.contract.TextProvider
import kotlinx.parcelize.Parcelize

/**
 * 作者： ygx
 * 创建日期：2023/4/19 11:22 AM
 * 签名： 天行健，君子以自强不息；地势坤，君子以厚德载物。
 * -    _              _           _     _   ____  _             _ _
 * -   / \   _ __   __| |_ __ ___ (_) __| | / ___|| |_ _   _  __| (_) ___
 * -  / _ \ | '_ \ / _` | '__/ _ \| |/ _` | \___ \| __| | | |/ _` | |/ _ \
 * - / ___ \| | | | (_| | | | (_) | | (_| |  ___) | |_| |_| | (_| | | (_) |
 * -/_/   \_\_| |_|\__,_|_|  \___/|_|\__,_| |____/ \__|\__,_|\__,_|_|\___/
 * <p>
 * You never know what you can do until you try !
 * ----------------------------------------------------------------
 * 描述：
 */

@Parcelize
@Keep
data class TelSecondBean(
    val firstChar: String = "",
    val id: String = "",
    val name: String = "",
    val pid: String = "",
    val sort: String = "",
    var isShow: Boolean = false,
    var telThirdCategories: List<TelThirdBean>
) : Parcelable, TextProvider {
    override fun provideText(): String {
        return name
    }

}

@Parcelize
@Keep
data class TelThirdBean(
    val firstChar: String = "",
    val id: String = "",
    val name: String = "",
    val pid: String = "",
    val sort: String = "",
    var isShow: Boolean = false,
    var telFourCategories: List<TelFourBean>
) : Parcelable, TextProvider {
    override fun provideText(): String {
        return name
    }

}

@Parcelize
@Keep
data class TelFourBean(
    val firstChar: String = "",
    val id: String = "",
    val name: String = "",
    val pid: String = "",
    val sort: String = "",
    var isShow: Boolean = false,
) : Parcelable, TextProvider {
    override fun provideText(): String {
        return name
    }

}

@Parcelize
@Keep
data class TelSecondCategoryBean(
    var id: String? = null,
    var name: String? = null,
    var firstChar: String? = null,
    var forshort: String? = null,
    var pforshort: String? = null,
    var seq: Int? = 0,
    var centre: String? = null,
    var isShow: Boolean = false,
    var telThirdCategories: List<TelThirdCategoryBean>?
) : Parcelable, TextProvider {
    override fun provideText(): String {
        return name ?: ""
    }

}


@Parcelize
@Keep
data class TelThirdCategoryBean(
    var id: String? = null,
    var name: String? = null,
    var firstChar: String? = null,
    var forshort: String? = null,
    var pforshort: String? = null,
    var seq: Int? = 0,
    var centre: String? = null,
    var isShow: Boolean = false,
    var telFourCategories: List<TelFourCategoryBean>?
) : Parcelable, TextProvider {
    override fun provideText(): String {
        return name ?: ""
    }

}

@Parcelize
@Keep
data class TelFourCategoryBean(
    var id: String? = null,
    var name: String? = null,
    var firstChar: String? = null,
    var forshort: String? = null,
    var pforshort: String? = null,
    var seq: Int? = 0,
    var isShow: Boolean = false,
) : Parcelable, TextProvider {
    override fun provideText(): String {
        return name ?: ""
    }

}

@Parcelize
@Keep
data class PositionBean(
    val index0: Int? = 0,
    val index1: Int? = 0,
    val index2: Int? = 0,
    val index3: Int? = 0,

    ) : Parcelable
